<template>
	<div id="product">
		<div class="div_home">
			<router-link to="/home"><span class="pro_icon" style="font-size: 20px; color: #999999;"> < </span> </router-link>
			<router-link to="/search"><span>
				<input class="searchBox" type="text" name="search" placeholder="山姆会员商店优惠商品">
			</span></router-link>
		</div>

		<div class="product_div_bottom">
			<div class="home-bottom-1">
				<img src="../assets/home/沃尔玛.png" />
				<div class="home-text">
					<div class="home-first">沃尔玛</div>
					<div class="home-second">
						<span>月售1万+</span>
						<span>起送￥0</span>
						<span>基础运费￥5</span>
					</div>
					<div class="home-text_third">VIP尊享满89元减4元运费券（每月3张）</div>
				</div>
			</div>
		</div>

		<div>
			<div class="pro-between">
				<div class="pro_detail_height">
					   <span class="span_tt">全部商品</span>
					<div class="pro-column">						
						<span>秒杀</span>
						<span>新鲜水果</span>
						<span>休闲食品</span>
						<span>时令蔬菜</span>
						<span>肉蛋家禽</span>
						<span></span>
						<span></span>  
						<span></span>  
					</div>
				</div>


				<div>

					<div class="div-bottom-detail">
						<img src="../assets/orders/icon_order.png" />
						<div class="pro_bottom_text">
							<div class="div-bottom-detail_text_first">沃尔玛</div>
							<div class="div-bottom-detail_text_second">
								<span>月售1万+</span>
							</div>
							<div class="div-text-third">
								<span class="first_text">
									￥33.6
								</span>
								<p class="second_text">￥33.6</p>
								<span class="thid_text">
									<span><img class="icon_jia" src="../assets/orders/白减.png"></span>
									<span>88</span>


									<img class="icon_jia" src="../assets/orders/蓝加.png">
								</span>
							</div>
						</div>
					</div>

					<div class="div-bottom-detail">
						<img src="../assets/orders/icon_order.png" />
						<div class="pro_bottom_text">
							<div class="div-bottom-detail_text_first">沃尔玛</div>
							<div class="div-bottom-detail_text_second">
								<span>月售1万+</span>
							</div>
							<div class="div-text-third">
								<span class="first_text">
									￥33.6
								</span>
								<p class="second_text">￥33.6</p>
								<span class="thid_text">
									<span></span>
									<span></span>
									<img class="icon_jia" src="../assets/orders/蓝加.png">
								</span>
							</div>
						</div>
					</div>

					<div class="div-bottom-detail">
						<img src="../assets/orders/icon_order.png" />
						<div class="pro_bottom_text">
							<div class="div-bottom-detail_text_first">沃尔玛</div>
							<div class="div-bottom-detail_text_second">
								<span>月售1万+</span>
							</div>
							<div class="div-text-third">
								<span class="first_text">
									￥33.6
								</span>
								<p class="second_text">￥33.6</p>
								<span class="thid_text">
									<span></span>
									<span></span>
									<img class="icon_jia" src="../assets/orders/蓝加.png">
								</span>
							</div>
						</div>
					</div>
					<div class="div-bottom-detail">
						<img src="../assets/orders/icon_order.png" />
						<div class="pro_bottom_text">
							<div class="div-bottom-detail_text_first">沃尔玛</div>
							<div class="div-bottom-detail_text_second">
								<span>月售1万+</span>
							</div>
							<div class="div-text-third">
								<span class="first_text">
									￥33.6
								</span>
								<p class="second_text">￥33.6</p>
								<span class="thid_text">
									<span></span>
									<span></span>
									<img class="icon_jia" src="../assets/orders/蓝加.png">
								</span>
							</div>
						</div>
					</div>
					
				</div>
			</div>


		</div>


		<div>
			<div class="footer_guide">
				<div class="guide_item">
					<router-link to="/qkorders"><div class="pro_bottom">
						<span class="item_icon">
							<img src="../assets/orders/basket@2x.png" />
						</span>
					</div></router-link>
					<div class="pro_bottom_span">
						<span>总计：</span>
						<span class="pro_bottom_span_text">￥128</span>
					</div>
					<div class="pro_bottom_span_end">
						<router-link to="/wproductxq"><span @click="jiesuan">去结算</span></router-link> 
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			jiesuan() {
				this.$router.push('/wproductxq')
			}
		}
	}
</script>

<style scoped>
	* {
		margin: 0;
		padding: 0;
	}

	#product {
		height: 100%;
		position: fixed;
		width: 100%;
	}

	.div_home {
		margin-left: 18.2px;
	}

	.div_home .searchBox {
		background: #F5F5F5;
		border-radius: 16px;
		height: 32px;
		width: 80%;
		margin-left: 16.2px;
		margin-right: 18px;
		text-align: left;
		padding-left: 12.1px;
		border: 0;
		margin-top: 16px;
	}

	.pro_icon {
		font-size: 20px;
	}

	.product_div_bottom {
		height: 106px;
		margin-top: 24px;
	}

	.home-bottom-1 {
		margin-top: 14px;
		text-align: left;
		margin-left: 18px;
		display: flex;
		justify-content: start;
	}

	.home-bottom-1 img {
		height: 56px;
		width: 56px;
	}

	.home-bottom-1 .home-text {
		margin-left: 16px;
	}

	.home-bottom-1 .home-text .home-first {
		font-family: PingFangSC-Regular;
		font-size: 16px;
		color: #333333;
	}

	.home-bottom-1 .home-text .home-second {
		font-family: PingFangSC-Regular;
		font-size: 13px;
		color: #333333;
		display: flex;
		justify-content: space-between;
		margin-top: 8px;
	}

	.home-bottom-1 .home-text .home-text_third {
		font-family: PingFangSC-Regular;
		font-size: 13px;
		color: #E93B3B;
		margin-top: 8px;
		border-bottom: 1px solid #F1F1F1;
		padding-bottom: 12px;
	}

	.pro-between {
		display: flex;
		justify-content: flex-start;
		height: 100%;
	}


	.pro-between .pro-column {
		display: flex;
		flex-direction: column;
		align-items: center;
		height: 100%;
		background: #F5F5F5;
		border-radius: 2px;
		width: 86px;
	}

    .span_tt{
		 margin-left: 10px;
		 margin-right: 16px;
		 margin-top: 12px;
		 height: 40px;
		 font-family: PingFangSC-Regular;
		 font-size: 14px;
		 color: #333333;
		 line-height: 16px;
	 }
	.pro-between .pro-column span {		
		margin-left: 10px;
		margin-right: 16px;
		margin-top: 12px;
		height: 40px;
		font-family: PingFangSC-Regular;
		font-size: 14px;
		color: #333333;
		line-height: 16px;
	}

	.div-bottom-detail {
		display: flex;
		justify-content: flex-start;
		margin-bottom: 12px;
		height: 92px;
		margin-left: 16px;
		border-bottom: 1px solid #F1F1F1;
	}

	.div-bottom-detail>img {
		width: 68px;
		height: 68px;
	}

	.pro_bottom_text {
		margin-left: 16px;
		text-align: left;
	}

	.pro_bottom_text .div-bottom-detail_text_first {
		font-family: PingFangSC-Medium;
		font-size: 14px;
		color: #333333;
	}

	.pro_bottom_text .div-bottom-detail_text_second {
		margin-top: 6px;
		font-family: PingFangSC-Regular;
		font-size: 12px;
		color: #333333;
		line-height: 16px;
	}

	.pro_bottom_text .div-text-third {
		margin-top: 6px;
		display: flex;
		justify-content: space-between;

	}

	.pro_bottom_text .div-text-third .icon_jia {
		width: 19.5px;
		height: 19.4px;
		text-align: right;
		padding-left: 10px;
		padding-right: 10px;
	}

	.div-text-third .first_text {
		font-family: PingFangSC-Semibold;
		font-size: 14px;
		color: #E93B3B;
		line-height: 20px;
		margin-right: 12px;
	}

	.div-text-third .second_text {
		font-family: PingFangSC-Regular;
		font-size: 10px;
		color: #999999;
		line-height: 20px;

	}

	.div-text-third .thid_text {
		display: flex;
		justify-content: space-between;
		margin-left: 16px;

	}

	.footer_guide {
		position: fixed;
		z-index: 100;
		left: 0;
		right: 0;
		bottom: 1px;
		background-color: #fff;
		width: 100%;
		height: 50px;
		display: flex;
	}

	.guide_item {
		display: flex;
		flex: 1;
		text-align: center;
		justify-content: space-between;
		align-items: center;
		margin: 5px;
		color: #999999;
	}

	.item_icon img {
		width: 30px;
		height: 26px;
		margin-top: 11px;
		padding-right: 20px;
		margin-bottom: 12px;
	}

	.pro_bottom_span {
		margin-right: 80px;
		margin-left: 32px;
		margin-top: 16px;
		margin-bottom: 16px;
	}

	.pro_bottom_span_end {
		background: #4FB0F9;
		padding: 14px 28px 14px 28px;
		font-family: PingFangSC-Medium;
		font-size: 14px;
		color: #FFFFFF;
	}

	.pro_bottom_span_text {
		font-family: PingFangSC-Medium;
		font-size: 18px;
		color: #E93B3B;
	}

	.border_right {
		text-align: right;
	}


	.thid_text span:nth-child(1) {
		height: 17.2px;
		width: 17.2px;
	}

	.thid_text span:nth-child(2) {
		height: 17.2px;
		width: 17.2px;
		margin-left: 20px;
		margin-right: -4px;
	}
</style>
